Add a missing cast
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 Aug 2018 23:55:58 +0000 (19:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Aug 2018 23:55:58 +0000 (19:55 -0400)
This fixes a warning introduced in the previous commit.

gtk/gtkfilechooserwidget.c

index 67062a0b1427f9391dba4123c10f0860179c5197..21d3df7a095beb144c6855c4ffa1baf64cd854cb 100644 (file)
@@ -6092,7 +6092,7 @@ gtk_file_chooser_widget_get_default_size (GtkFileChooserEmbed *chooser_embed,
     {
       gtk_widget_get_preferred_size (priv->extra_align,
                                      &req, NULL);
-      *default_height += gtk_box_get_spacing (priv->box) + req.height;
+      *default_height += gtk_box_get_spacing (GTK_BOX (priv->box)) + req.height;
     }
 }